package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 商城商品对象 web_mall_product
 * 
 * @author wsliupan@126.com
 * @date 2021-06-14
 */
@ApiModel("商城商品对象")
public class WebMallProduct extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 产品名称 */
    @Excel(name = "产品名称")
    @ApiModelProperty(value = "产品名称" )
    @NotNull(message = "产品名称")
    private String productName;

    /** 默认展示价格 */
    @Excel(name = "展示价")
    @ApiModelProperty(value = "展示价" )
    @NotNull(message = "展示价")
    private Double price;

    /** SKU */
    @Excel(name = "SKU")
    @ApiModelProperty(value = "SKU")
    private String skuStr;

    /** 门市价格 */
    @Excel(name = "购买价")
    @ApiModelProperty(value = "购买价")
    private Double targetMoney;

    /** 运费模板 */
    @Excel(name = "运费模板")
    @ApiModelProperty(value = "运费模板" , hidden = true )
    private Long postage;

    /** 最多购买数量 */
    @Excel(name = "最多购买数量")
    @ApiModelProperty(value = "最多购买数量" , hidden = true )
    private Long maxBuy;

    /** 最多可用积分 */
    @Excel(name = "最多可用积分")
    @ApiModelProperty(value = "最多可用积分" , hidden = true )
    private Long useScore;

    /** 最少使用积分 */
    @Excel(name = "最少使用积分")
    @ApiModelProperty(value = "最少使用积分")
    private Long minScore;

    /** 已购买金额 */
    @Excel(name = "已购买金额")
    @ApiModelProperty(value = "已购买金额" , hidden = true )
    private Long alreadyMoney;

    @Excel(name = "库存数量")
    @ApiModelProperty(value = "库存数量")
    private Integer number;

    /** 销量 */
    @Excel(name = "销量")
    @ApiModelProperty(value = "销量" , hidden = true )
    private Long supportNum;

    /** 产品简述 */
    @Excel(name = "产品简述")
    @ApiModelProperty(value = "产品简述" , hidden = true )
    private String sketch;

    /** 产品期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "产品期限", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "产品期限" , hidden = true )
    private Date endDate;

    /** 产品图片以;分割 */
    @Excel(name = "产品图片以;分割")
    @ApiModelProperty(value = "产品图片")
    private String images;

    /** 视频地址 */
    @ApiModelProperty(value = "视频地址" , hidden = true )
    private String video;

    /** 发布状态 */
    @Excel(name = "发布状态")
    @ApiModelProperty(value = "发布状态" )
    @NotNull(message = "发布状态")
    private String releaseStatus;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    @ApiModelProperty(value = "是否推荐" , hidden = true )
    private String isRecommend;

    /** 是否热门 */
    @Excel(name = "是否热门")
    @ApiModelProperty(value = "是否热门" , hidden = true )
    private String isHot;

    /** 商家ID，为空自营 */
    @Excel(name = "商家ID，为空自营")
    @ApiModelProperty(value = "商家ID，为空自营" , hidden = true )
    private String merchantId;

    /** 字典中的分类(一级) */
    @Excel(name = "字典中的分类(一级)")
    @ApiModelProperty(value = "字典中的分类(一级)" , hidden = true )
    private String type1;

    /** 字典中的分类(二级) */
    @Excel(name = "字典中的分类(二级)")
    @ApiModelProperty(value = "字典中的分类(二级)" , hidden = true )
    private String type2;

    /** 字典中的分类(三级) */
    @Excel(name = "字典中的分类(三级)")
    @ApiModelProperty(value = "字典中的分类(三级)" , hidden = true )
    private String type3;

    /** 成本价 */
    @Excel(name = "成本价")
    @ApiModelProperty(value = "成本价" , hidden = true )
    private Long costPrice;

    /** 商品来源连接 */
    @Excel(name = "商品来源连接")
    @ApiModelProperty(value = "商品来源连接" , hidden = true )
    private String source;

    /** 商品的供货商 */
    @Excel(name = "商品的供货商")
    @ApiModelProperty(value = "商品的供货商" , hidden = true )
    private String supplierName;

    /** 一级分销奖金 */
    @Excel(name = "一级分销奖金")
    @ApiModelProperty(value = "一级分销奖金" , hidden = true )
    private Long fenxiao;

    /** 二级分销奖金 */
    @Excel(name = "二级分销奖金")
    @ApiModelProperty(value = "二级分销奖金" , hidden = true )
    private Long fenxiao2;

    /** 产品详细 */
    @Excel(name = "产品详细")
    @ApiModelProperty(value = "产品详细" , hidden = true )
    private String content;

    /** 备用 */
    @Excel(name = "备用")
    @ApiModelProperty(value = "备用" , hidden = true )
    private String param1;

    /** 备用2 */
    @Excel(name = "备用2")
    @ApiModelProperty(value = "备用2" , hidden = true )
    private String param2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }
    public void setSkuStr(String skuStr) 
    {
        this.skuStr = skuStr;
    }

    public String getSkuStr() 
    {
        return skuStr;
    }
    public void setTargetMoney(Double targetMoney)
    {
        this.targetMoney = targetMoney;
    }

    public Double getTargetMoney()
    {
        return targetMoney;
    }
    public void setPostage(Long postage) 
    {
        this.postage = postage;
    }

    public Long getPostage() 
    {
        return postage;
    }
    public void setMaxBuy(Long maxBuy) 
    {
        this.maxBuy = maxBuy;
    }

    public Long getMaxBuy() 
    {
        return maxBuy;
    }
    public void setUseScore(Long useScore) 
    {
        this.useScore = useScore;
    }

    public Long getUseScore() 
    {
        return useScore;
    }
    public void setMinScore(Long minScore) 
    {
        this.minScore = minScore;
    }

    public Long getMinScore() 
    {
        return minScore;
    }
    public void setAlreadyMoney(Long alreadyMoney) 
    {
        this.alreadyMoney = alreadyMoney;
    }

    public Long getAlreadyMoney() 
    {
        return alreadyMoney;
    }
    public void setSupportNum(Long supportNum) 
    {
        this.supportNum = supportNum;
    }

    public Long getSupportNum() 
    {
        return supportNum;
    }
    public void setSketch(String sketch) 
    {
        this.sketch = sketch;
    }

    public String getSketch() 
    {
        return sketch;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setVideo(String video) 
    {
        this.video = video;
    }

    public String getVideo() 
    {
        return video;
    }
    public void setReleaseStatus(String releaseStatus)
    {
        this.releaseStatus = releaseStatus;
    }

    public String getReleaseStatus()
    {
        return releaseStatus;
    }
    public void setIsRecommend(String isRecommend) 
    {
        this.isRecommend = isRecommend;
    }

    public String getIsRecommend() 
    {
        return isRecommend;
    }
    public void setIsHot(String isHot) 
    {
        this.isHot = isHot;
    }

    public String getIsHot() 
    {
        return isHot;
    }
    public void setMerchantId(String merchantId) 
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }
    public void setType1(String type1) 
    {
        this.type1 = type1;
    }

    public String getType1() 
    {
        return type1;
    }
    public void setType2(String type2) 
    {
        this.type2 = type2;
    }

    public String getType2() 
    {
        return type2;
    }
    public void setType3(String type3) 
    {
        this.type3 = type3;
    }

    public String getType3() 
    {
        return type3;
    }
    public void setCostPrice(Long costPrice) 
    {
        this.costPrice = costPrice;
    }

    public Long getCostPrice() 
    {
        return costPrice;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setFenxiao(Long fenxiao) 
    {
        this.fenxiao = fenxiao;
    }

    public Long getFenxiao() 
    {
        return fenxiao;
    }
    public void setFenxiao2(Long fenxiao2) 
    {
        this.fenxiao2 = fenxiao2;
    }

    public Long getFenxiao2() 
    {
        return fenxiao2;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }
    public void setParam2(String param2) 
    {
        this.param2 = param2;
    }

    public String getParam2() 
    {
        return param2;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
